// FactoryMultiMeterNI4071.h: interface for the CFactoryMultiMeterNI4071 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FACTORYMULTIMETERNI4071_H__4A0BF9D2_6206_46E1_A7F1_0A1BF9284661__INCLUDED_)
#define AFX_FACTORYMULTIMETERNI4071_H__4A0BF9D2_6206_46E1_A7F1_0A1BF9284661__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "VI_MultiMeter_NI_4071.h"
#include "Unknwn.h"

class CFactoryMultiMeterNI4071 : public IClassFactory
{
protected:
	ULONG    m_Ref;
	
public:

	//IUnknown members
	HRESULT __stdcall QueryInterface(const IID& iid, void **ppv);
	ULONG __stdcall AddRef();
	ULONG __stdcall Release();
	
	//IClassFactory members
	HRESULT __stdcall CreateInstance(IUnknown *, const IID& iid, void **ppv);
	HRESULT __stdcall LockServer(BOOL);
	
public:
//	static void Release();
//	static void* CreateInstance(INTERFACETYPE interfaceID);
	CFactoryMultiMeterNI4071();
	virtual ~CFactoryMultiMeterNI4071();
	static CVI_MultiMeter_NI_4071* m_instance;

};

#endif // !defined(AFX_FACTORYMULTIMETERNI4071_H__4A0BF9D2_6206_46E1_A7F1_0A1BF9284661__INCLUDED_)
